<template>
        <div class="background">
           <div class="top"> <router-link to="/home"><img src="@/assets/img/navbar/logo.png" alt=""></router-link><h4>好孩子官方商城</h4></div>
            <div class="center">
                <slot></slot>
            </div>
            <p>意见反馈 | 关于我们 | 业务合作</p>
            <p>© 2019 Goodbaby Co.,Ltd, AllRights Reserved. 沪ICP备12008618号-8</p>
        </div>
</template>

<script>
    export default {
        name: "RSBackGround"
    }
</script>

<style scoped>
    .top {
        display: flex;
        align-items: flex-end;
        text-align: end;
        width: 200px;
        height: 85px;
        position: relative;
        margin: 20px 500px;
    }
    .top h4 {
        position: absolute;
        right: 0px;
        bottom: -16px;
    }
    .center {
        width: 100%;
        height: 500px;
        background: url("../../../assets/img/rsbackground/rsbackground.jpg");
        background-size: 100%;
        display: flex;
        align-items: center;
    }
    p {
        font-size: 12px;
        width: 500px;
        text-align: center;
        line-height: 30px;
        margin: 0 auto;
    }
    a {
        color: #000000;
    }
</style>